package com.dto.serviceproblem;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 服务问题表 - 请求参数对象 (DTO)
 */
@Data
@ApiModel("服务问题表请求参数")
public class ServiceProblemDTO {
    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "售后单ID")
    private Long afterSalesId;

    @ApiModelProperty(value = "客户公司ID")
    private Long customerCompanyId;

    @ApiModelProperty(value = "关联产品ID")
    private Long productId;

    @ApiModelProperty(value = "产品名称")
    private String productName;

    @ApiModelProperty(value = "安装日期")
    private String installationDate;

    @ApiModelProperty(value = "问题处理时间")
    private String resolutionDate;

    @ApiModelProperty(value = "安装站名")
    private String installStation;

    @ApiModelProperty(value = "安装位置")
    private String installationLocation;

    @ApiModelProperty(value = "口径")
    private String boreSize;

    @ApiModelProperty(value = "材质")
    private String material;

    @ApiModelProperty(value = "型号")
    private String modelNumber;

    @ApiModelProperty(value = "出厂编号")
    private String productionNumber;

    @ApiModelProperty(value = "故障现象")
    private String faultDescription;

    @ApiModelProperty(value = "原因分析")
    private String faultAnalysis;

    @ApiModelProperty(value = "排除方法")
    private String resolutionMethod;

    @ApiModelProperty(value = "处理结果")
    private String resolutionResult;

    @ApiModelProperty(value = "改进意见")
    private String improvementSuggestions;

    @ApiModelProperty(value = "问题归类")
    private String problemCategory;

    @ApiModelProperty(value = "现场照片路径")
    private List<String> photos;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "状态: editing, confirmed, published, completed, processing, archived")
    private String status;

}